package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;

/**
 * MaterialPruchaseInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class MaterialPurchaseInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected MaterialPurchase purchasePlan;
	@Expose
	protected Material material;
	@Expose
	protected String details;
	@Expose
	protected Integer num;
	@Expose
	protected java.util.Date enterDate;
	@Expose
	protected String position;
	@Expose
	protected String requirement;
	@Expose
	protected String remark;
	protected AppUser createUser;
	protected java.util.Date createTime;


	/**
	 * Default Empty Constructor for class MaterialPruchaseInfo
	 */
	public MaterialPurchaseInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class MaterialPruchaseInfo
	 */
	public MaterialPurchaseInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public MaterialPurchase getPurchasePlan() {
		return purchasePlan;
	}

	public void setPurchasePlan(MaterialPurchase purchasePlan) {
		this.purchasePlan = purchasePlan;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public java.util.Date getEnterDate() {
		return enterDate;
	}

	public void setEnterDate(java.util.Date enterDate) {
		this.enterDate = enterDate;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getRequirement() {
		return requirement;
	}

	public void setRequirement(String requirement) {
		this.requirement = requirement;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public AppUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(AppUser createUser) {
		this.createUser = createUser;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}
    

}
